﻿using PWMIS.Common;
using PWMIS.DataMap.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication2.Entity
{
    [Serializable()]
    public partial class T_ExamArrangment : EntityBase
    {
        public T_ExamArrangment()
        {
            TableName = "T_ExamArrangment";
            Schema = "dbo";
            EntityMap = EntityMapType.Table;
            //IdentityName = "标识字段名";
            IdentityName = "Id";

            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("Id");


        }


        protected override void SetFieldNames()
        {
            PropertyNames = new string[] { "Id", "Year", "Name", "Desc", "StartTime", "EndTime" };
        }



        /// <summary>
        /// 
        /// </summary>
        public System.Int32 Id
        {
            get { return getProperty<System.Int32>("Id"); }
            set { setProperty("Id", value); }
        }

        /// <summary>
        /// 年度
        /// </summary>
        public System.Int32 Year
        {
            get { return getProperty<System.Int32>("Year"); }
            set { setProperty("Year", value); }
        }

        /// <summary>
        /// 名称
        /// </summary>
        public System.String Name
        {
            get { return getProperty<System.String>("Name"); }
            set { setProperty("Name", value, 20); }
        }

        /// <summary>
        /// 描述
        /// </summary>
        public System.String Desc
        {
            get { return getProperty<System.String>("Desc"); }
            set { setProperty("Desc", value, 50); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime StartTime
        {
            get { return getProperty<System.DateTime>("StartTime"); }
            set { setProperty("StartTime", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime EndTime
        {
            get { return getProperty<System.DateTime>("EndTime"); }
            set { setProperty("EndTime", value); }
        }


    }

}
